use "$path\datasets\individual_data.dta", clear


keep if female==0
estpost sum csu spd greens  higher_degree  employed selfemployed student retired housewifehusband  alter


esttab using TableA23/tableA23_PanelB.txt , style(tab) replace order( )  ///
  mlabel(,none) ///
cells("count(fmt(%6.0f)) mean(fmt(%6.3f)) sd(fmt(%6.3f)) min(fmt(%6.3f)) max(fmt(%6.3f)) ") ///
collabels(none) ///
  varlabels( csu "CSU" spd "SPD" greens "Greens" listenplatz "Initial list rank" listenergebnis "Final list rank" alter "Age" higher_degree "Higher degree"  employed "Employed" selfemployed "Self-employed" student "Student" retired "Retired" housewifehusband "Housewife"  )






